package com.karson.common.request;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("eb_user")
@Tag(name="User对象", description="用户表")
public class UserSearchRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @Schema(name = "keywords",description = "关键字")
    private String keywords;

    @Schema(name = "labelId",description = "标签")
    private String labelId;

    @Parameter(
            description = "用户登陆类型",
            name = "userType",
            required = false,
            schema = @Schema(type = "string", allowableValues = {"PC", "h5", "other"})
    )
    private String userType;

    @Schema(name = "phone",description = "手机号")
    private String phone;

    @Schema(name = "状态是否正常， 0 = 禁止， 1 = 正常")
    private Boolean status = null;

}